package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author xjz
 * @email 1845706088@qq.com
 * @date 2020-09-13 14:27:30
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttr(List<ProductAttrValueEntity> collect) ;

    List<ProductAttrValueEntity> baseAttrlistforspu(Long spuId) ;

    void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities) ;

    List<ProductAttrValueEntity> baseAttrListForSpu(Long spuId) ;
}

